# -*- coding: utf-8 -*-
import datetime
import os
# os.system('python main.py 10000 ../data/20_5_01_ta001.txt')
if not os.path.exists('output'):
    os.mkdir('output')
now = datetime.datetime.now()
path = f'./output/{now.month}-{now.day}_{now.hour}:{now.minute}/'
print(path)
if not os.path.exists(path):
    os.mkdir(path)

TIMES = 10
for root, dirs, files in os.walk('./data'):
    for file in files:
        os.system(f'python main.py {TIMES} ./data/{file} {path}')